package testGameLogic;

import static org.junit.Assert.*;

import java.util.ArrayList;

import org.junit.Before;
import org.junit.Test;

import YAPserver.gameObjects.Mod;
import YAPserver.logic.ClassicModel;
import YAPserver.mods.list.*;

public class TestCreateMod {
	ClassicModel model;
	ModGroup modList = new AllMods();
	ArrayList<Mod> mods;
	@Before
	public void setup() throws Exception{
		mods = new ArrayList<Mod>();
	}
	
	@Test
	public void testCreateMod() throws Exception{
		model = new ClassicModel();		
		assertTrue(mods.isEmpty());
		model.createMod(mods, null);
		assertFalse(mods.isEmpty());
	}
}
